package com.leung.machine.action;


import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 丨一
 * @version 1.0
 * @title StateAction
 * @description:
 * @date 2025/10/7 上午9:33
 */
public interface StateAction {

    void execute(DynamicContext dynamicContext);


   @Data
   class DynamicContext {
        private String itemName;

        private Integer orderId;

        private Integer quantity;

        private BigDecimal price;
    }

}

